import QtQuick 2.12
Item{
    enum Direction{
          Vertical,
          Horizontal
    }
    property int direction: SpacerItem.Vertical
    property int spacing: 0
    width: direction === SpacerItem.Vertical ? parent.width : spacing
    height: direction === SpacerItem.Horizontal ? parent.height : spacing
}
